package com.ruoyi.patrol.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 通知用户对象vo
 *
 * @author 理想三旬
 * @date 2022-11-08
 */
public class PtNotificationUserVo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 编号ID
     */
    private String id;

    /**
     * 通知编号ID
     */
    private String notificationId;

    /**
     * 负责人
     */
    private String nickName;

    /**
     * 学校名称
     */
    private String schoolName;

    /**
     * 阅读状态
     */
    private String readStatus;

    /**
     * 阅读时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date readTime;

    /**
     * 回复内容
     */
    private String answerContent;

    /**
     * 是否需要回复
     */
    private String answerType;

    /**
     * 回复截止时间
     */
    private String deadlineTime;

    /**
     * 通知附件
     */
    private String fileUrl;
    /**
     * 回复附件
     */
    private String answerFileUrl;

    /**
     * 回复时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date answerTime;

    /**
     * 通知标题
     */
    private String title;

    /**
     * 通知内容
     */
    private String content;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 开始时间
     */
    private String startTime;

    /**
     * 结束时间
     */
    private String finishTime;

    /**
     * 发布时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date publishTime;


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(String finishTime) {
        this.finishTime = finishTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAnswerType() {
        return answerType;
    }

    public void setAnswerType(String answerType) {
        this.answerType = answerType;
    }

    public String getDeadlineTime() {
        return deadlineTime;
    }

    public void setDeadlineTime(String deadlineTime) {
        this.deadlineTime = deadlineTime;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getNotificationId() {
        return notificationId;
    }

    public void setNotificationId(String notificationId) {
        this.notificationId = notificationId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getReadStatus() {
        return readStatus;
    }

    public void setReadStatus(String readStatus) {
        this.readStatus = readStatus;
    }

    public Date getReadTime() {
        return readTime;
    }

    public void setReadTime(Date readTime) {
        this.readTime = readTime;
    }

    public String getAnswerContent() {
        return answerContent;
    }

    public void setAnswerContent(String answerContent) {
        this.answerContent = answerContent;
    }

    public String getAnswerFileUrl() {
        return answerFileUrl;
    }

    public void setAnswerFileUrl(String answerFileUrl) {
        this.answerFileUrl = answerFileUrl;
    }

    public Date getAnswerTime() {
        return answerTime;
    }

    public void setAnswerTime(Date answerTime) {
        this.answerTime = answerTime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    @Override
    public String toString() {
        return "PtNotificationUserVo{" +
                "id='" + id + '\'' +
                ", notificationId='" + notificationId + '\'' +
                ", nickName='" + nickName + '\'' +
                ", schoolName='" + schoolName + '\'' +
                ", readStatus='" + readStatus + '\'' +
                ", readTime=" + readTime +
                ", answerContent='" + answerContent + '\'' +
                ", answerType='" + answerType + '\'' +
                ", deadlineTime='" + deadlineTime + '\'' +
                ", fileUrl='" + fileUrl + '\'' +
                ", answerFileUrl='" + answerFileUrl + '\'' +
                ", answerTime=" + answerTime +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", userId=" + userId +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + finishTime + '\'' +
                ", publishTime=" + publishTime +
                '}';
    }
}
